import pandas as pd
import numpy as np

# 导入数据

debt = pd.read_csv(r"C:\Users\Lenovo\Desktop\Insightful & Vast USA Statistics\每个UID的人口密度.csv", usecols = ['debt'])
Population_Density = pd.read_csv(r"C:\Users\Lenovo\Desktop\Insightful & Vast USA Statistics\每个UID的人口密度.csv", usecols = ['Population_Density'])

debt = np.array(debt)
Population_Density = np.array(Population_Density)

# 计算debt乘以Population_Density
debt_mul_PD = np.multiply(debt,Population_Density)
debt_mul_PD = pd.DataFrame(debt_mul_PD)

# 导出数据
debt_mul_PD.to_csv(r"C:\Users\Lenovo\Desktop\Insightful & Vast USA Statistics\每个UID的负债指数.csv")